package com.dfbz.bigdata.modules.system.doman;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Auther:东方标准
 * @Date:2023/3/19-03-19-10:49
 * @Decsription:com.dfbz.bigdata.modules.system.doman
 * @Version:1.0
 */
@TableName(value ="tb_comment")
@Data
public class TbComment  {
    private static final long serialVersionUID = -11190946304945742L;
    /**
     * 评论id
     */
    private String commentId;
    /**
     * 商品id、案例id
     */
    private String commentGoodcaseId;
    /**
     * 评价人
     */
    private String commentUserid;
    /**
     * 评价类型
     */
    private String commentGoodcaseType;
    /**
     * 评价图片
     */
    private String commentImage;
    /**
     * 评价星级  三星是差评 四星是中评 五星是好评
     */
    private String commentStar;
    /**
     * 创建时间
     */
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date commentCreattime;
    /**
     * 文本
     */
    private String commentText;
    /**
     * 回答文本
     */
    private String commentHuidatext;


    private String commentOrderid;


    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getCommentGoodcaseId() {
        return commentGoodcaseId;
    }

    public void setCommentGoodcaseId(String commentGoodcaseId) {
        this.commentGoodcaseId = commentGoodcaseId;
    }

    public String getCommentUserid() {
        return commentUserid;
    }

    public void setCommentUserid(String commentUserid) {
        this.commentUserid = commentUserid;
    }

    public String getCommentGoodcaseType() {
        return commentGoodcaseType;
    }

    public void setCommentGoodcaseType(String commentGoodcaseType) {
        this.commentGoodcaseType = commentGoodcaseType;
    }

    public String getCommentImage() {
        return commentImage;
    }

    public void setCommentImage(String commentImage) {
        this.commentImage = commentImage;
    }

    public String getCommentStar() {
        return commentStar;
    }

    public void setCommentStar(String commentStar) {
        this.commentStar = commentStar;
    }

    public Date getCommentCreattime() {
        return commentCreattime;
    }

    public void setCommentCreattime(Date commentCreattime) {
        this.commentCreattime = commentCreattime;
    }

    public String getCommentText() {
        return commentText;
    }

    public void setCommentText(String commentText) {
        this.commentText = commentText;
    }

    public String getCommentHuidatext() {
        return commentHuidatext;
    }

    public void setCommentHuidatext(String commentHuidatext) {
        this.commentHuidatext = commentHuidatext;
    }

}